package com.geekstudy.week3.service;


import org.springframework.web.bind.annotation.RequestParam;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import java.util.Map;

@Path("/mock")
@Consumes("application/json")
public interface MockShutdownApi {

    @POST
    @Path("/shutdown")
    Map<String, String> shutdown(@RequestParam(name = "from") String from);
}
